package beans;

public class Task {
	   private int  task_id;
       private int model_id;
       private String modelName;
       private String name;
       private String create_person;
       private String start_time;
       private String end_time;
       private String json;
       private boolean is_nesting;
       private String nest_json;
	   private String introduction;
       private String statement;
       private String userId;
	
       public Task(){
    	   
       }

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Task(int model_id, String name, String create_person, String json, String nest_json, String introduction) {
		this.model_id = model_id;
		this.name = name;
		this.create_person = create_person;
		this.json = json;
		this.nest_json = nest_json;
		this.introduction = introduction;
	}

	public Task(int task_id, int model_id, String name, String create_person, String start_time, String end_time,
				String json, boolean is_nesting, String nest_json, String introduction, String statement) {
		super();
		this.task_id = task_id;
		this.model_id = model_id;
		this.name = name;
		this.create_person = create_person;
		this.start_time = start_time;
		this.end_time = end_time;
		this.json = json;
		this.is_nesting = is_nesting;
		this.nest_json = nest_json;
		this.introduction = introduction;
		this.statement = statement;
	}

	public Task(int task_id, String modelName, String name, String create_person, String start_time, String end_time,
				String json, boolean is_nesting, String nest_json, String introduction, String statement) {
		super();
		this.task_id = task_id;
		this.modelName = modelName;
		this.name = name;
		this.create_person = create_person;
		this.start_time = start_time;
		this.end_time = end_time;
		this.json = json;
		this.is_nesting = is_nesting;
		this.nest_json = nest_json;
		this.introduction = introduction;
		this.statement = statement;
	}
	public int getTask_id() {
		return task_id;
	}

	public void setTask_id(int task_id) {
		this.task_id = task_id;
	}

	public int getModel_id() {
		return model_id;
	}

	public void setModel_id(int model_id) {
		this.model_id = model_id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCreate_person() {
		return create_person;
	}

	public void setCreate_person(String create_person) {
		this.create_person = create_person;
	}

	public String getStart_time() {
		return start_time;
	}

	public void setStart_time(String start_time) {
		this.start_time = start_time;
	}

	public String getEnd_time() {
		return end_time;
	}

	public void setEnd_time(String end_time) {
		this.end_time = end_time;
	}

	public String getJson() {
		return json;
	}

	public String getModelName() {
		return modelName;
	}

	public void setModelName(String modelName) {
		this.modelName = modelName;
	}

	public void setJson(String json) {
		this.json = json;
	}

	public boolean isIs_nesting() {
		return is_nesting;
	}

	public void setIs_nesting(boolean is_nesting) {
		this.is_nesting = is_nesting;
	}

	public String getNest_json() {
		return nest_json;
	}

	public void setNest_json(String nest_json) {
		this.nest_json = nest_json;
	}

	public String getIntroduction() {
		return introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public String getStatement() {
		return statement;
	}

	public void setStatement(String statement) {
		this.statement = statement;
	}

	@Override
	public String toString() {
		return "Task [task_id=" + task_id + ", model_id=" + model_id + ", name=" + name + ", create_person="
				+ create_person + ", start_time=" + start_time + ", end_time=" + end_time + ", json=" + json
				+ ", is_nesting=" + is_nesting + ", nest_json=" + nest_json + ", introduction=" + introduction
				+ ", statement=" + statement + "]";
	}
	
	
}


